Added a simple terminal to gui for debugging