has_keys changed and PyQt4 -> PyQt5 signals-slots game