Fixed gamebreaking bugs and camera bug, optimized level generation