Fixed a bug related to camera angle. Camera angle now follows player. Added wait for document to finish loading