remove gui.py
improve formatting of inline documentation
improved comments
more comment improvements