Fixed occasional core dumps on exit
Implemented super() inheritance style suggested by PyQt5