Adds support for REM units as initially added in PR #109
Fixed reading of base element property
Whitespace fixes