added destructors, game quits normally now