Fixed new line indentation engine bugs.