First working version with rudimentary GTK / Glade interface.