Beginning of basic gui text editor