Text editor

Added text editor using code from http://nicedit.com/