Fixed lag issues

Condensed unused/unneeded for loops and made less image loading
required. Also implemented set level length in terms of floor length
(10000/128)