A bunch of changes for getting packaged games to work...