fixed many Gui bugs and this is pre-merge commit
Merge branch 'master' of https://github.com/bsanders/softeng