added joystick menu control, configurability and cleanup