minor style tweaks, added errorcontroller