Fixed a small level generator bug
Tweaks and bug fixes.