Removed an unneccessary view adjustment when writing.
Cleaned up the multiline support. This reverts back to using begin-end blocks, but also flags when they are added and removes them in the resulting output so it's not as jarring to the user.