Made the result textarea read-only
Correcting code style
Added content filtering for text editor.