Some work done to add a level-generator... some bugfixes and a bit of testing added