Fixed many references and initialized variables

I must have been really tired when I was copy-pasting code. Coming soon:
more assets and complete game code.