working on the text editor
text editor now up and running in a decent fasion