Gui rewrite

Much better GUI rewritten in pyqt