General updates with plugins and error handling.

- Now always using a handler plugin, default is now included as a plugin.
- Handler based error messaging.
- General bug fixes.