Fixd bugs with endless game loop and display