Whitespace.
A bunch of improvements to a few things, mainly element creation.