TerminalPanel works!
some cleanup