Quick annotation and removal of 'import' function

There was a useless 'import' call in the header and I realized I forgot
to make a quick comment that I'll need later.
Removed unnecessary events

Removed some unnecessary events that had been added by accident when
experimenting with the GUI builder dialogue.
Removed unnecessary code

Removed unnecessary code for window formatting and some more extraneous
comments.