I noticed that the imports for `QtGui` and `RecordApp` were moved to the else clause, so to be consistent, a suggestion is to move the `gobject` import to the if clause since it's only being used there.