Finally got lastSeen dict to offload to a file periodically.