Commented most of the GUI code.