Changed the interface so that it loads from a .glade file.