Time import wiped out.
Found inconsistency in versions of gi.repository. Gtk.Window.close() doesn't exist in older version. Adjusted to run main_quit instead. Full exit of program on complete.