Fix indentation and PyQt4/5 imports