Small rewrite to autopurge inactive player detection  (just cleaning code)