database operations mostly debugged; global resident, town, and nation variables moved into respective classes; kill logging moved to database