Simplify error handling
Allow users to set their own error handler on top
Cleanup