Removed output textarea and some unneeded code