Code cleanup phase 1

Also added blank levels/worlds to avoid crashing
Code cleanup phase 2
Code cleanup phase 3
Code cleanup phase 4