pep8 fixes; simplified parser; pyside front-end bugfixes