Added the GUI code, finally.