Delegates response now on main thread

Implement some new delegates for error and response.
All delegates are now called on the main thread.