new level code from Ogre's fork, more level curve tweaking