Changed how game is updated and drawn.

Game now uses two threads, one for updating and another for  drawing.
Also, the background image now uses some compression to save CPU.