Added joypad support

Increase tick to 20 as 0.5 was much too slow
Refactored image capture