Added 2D game loop
Factored out paint-canvas function
Clear canvas before rendering
Set font antialiasing hints