Removal of pep8 vioiations in the misc section in gui

Removal of pep8 vioiations in the misc section in gui. Nothing too heavy just under indentation and long lines.