Updated the UI, added functions

Replaced the 'X' icon with a pretty red button, command line is now
submitted with return.