Remove text input and obsolete test code.
Decouple game quiting.