Quit from joystick

I've added a simple line allowing joystick quit to be called.  Please note that it is currently untested, but should work as is (it worked before with the original code).