Fixed screen clearing bug. This makes running in xterm mode a million times more usable.