implemented player active/inactive detection (closes #27), starting to implement cell-based stuff (see #28)