Timing

Implemented timing.
Also, prevented double hit on a target. Target must be active in order
for a collision test to be made on it.