It freaking works!!! Prgm 22!

Nice and efficient working :P ApplyDetectorM is going to be deleted.
Not needed. As well as ApplyDetectorAdapted :P