Remove error object and fix error/monitor callbacks.

Forgot to initially define the callback cvars.