Switched nest1 to level1 etc; a few other minor changes.