My own small mods to the moai game framework