gdk/engine: Simple main implementation