Detector improvements

Improvements to the Detector class so it can also be used for players
radar. It now keeps a dictionary of objects it has detected.