Made single World struct a global variable, fitted a lot of code to this change, on the way corrected some minor stylistic issues.