Fixes #5 and #8. Also made some improvements to the print css.