more work on AudioEngine and MapGenerator.