Made preloading actually work and added and updated many comments
Stupidly broke the game on last commit, fixed now