This ports the code to PyGObject, and also changes it to use Glade to edit the user interface elements.