Added delegate method joystick:didEnd:.
Added a setting for thumb margin.
Improved delegate calls.