adds better exception handling for unknown formatters/drivers

- includes restructuring of things to make that handle nicer
- removes controller javascript exception stuff, because it shouldn't be needed anymore ??