test added, more DRY
some refactor, errorpage
broke out styles
cleanup