Removed useless todo.
Improved the usage of joystick in gui.