Fixed bug which kept 'Enter your text here' in the textbox, and bug which prevented the caret from moving to the end of the div.