Removed unused methods
Added playback/record to frontend
Modified setup logic
Corrected computation of bounding box
Reject targets that are too small
Modified invisibility/age parameters
Use sensor ID for indexing (1-based)
Have separate counts for updating background depending on whether its closer or farther