fix 1em base font-sizing, minor bug fixes