Big changes to the detector

Added real time detection
Added display
Few other things