Add close on escape hit and basic automatic reset on lose