cleanup of some common and specific game engine function calls