Switched from Xwt to pure Gtk (since Xwt does not support raw pixel access and
had some stability issues with rendering images).