Added inner loop break to the demo.

Continues with the main loop if there are no more events, making it more similar to the while(SDL_PollEvent()) {} loop.