gkMain() replaces gkInit and gkRun