Added stat dumping, updated player handling.