call GMain.init before everything