mining, initial port from the Gtk+ version

It if fully working but misses the live tutorial