Squashed a few bugs

Commented a bit of the joystick code, and fixed a bug where a
conditional "if" was assuming an uninstantiated variable  equaled "null"
when it will actually equal "undefined"