Basic text editor written using ui module.