Basic game loop terminated by hitting Esc