Memory optimised, fixed entry delete bug, switched to textarea to allow usage of HTML editors, general code update. Thanks to Krisztian Kishazi (kishman155)