Update gui.py

Added comments and cleaned code slightly.
Things to add:
* View as Mailing
* Cursor hover change
* Validation
* Close - ask to save
* Last Name required