Re-implemented GUI using wxPython.