cleanup, user agent test
error_handler added to throw exceptions on error
changelog