start preparing Gtk and OpenGL backends, add some more functions to the Tk+Cairo based system