Turned MainGUI into a debuglistener, and now it displays the current line number at break points and step points