fix gui bugs and add new gui features
command history will automatically scroll to the bottom
whenever enter new commands
enter = enter new command
shift+enter = new line in input text area
alt+up/down = trace back/forward in command history