Fix console for debug compiles and fix empty line processing for indentation detection.