Refactored the detection method
Fix the description of the detect method for options
Fixed improper newline remover and a small codestyle fix
Fixed an issue with unitless-zero and percents