fixed q key problem, added game finished conditions and new game handling
fixed q key problem, added game finished conditions and new game handling