Tydied stuff up.

- Added abort button to UI.
- Wrapped callbacks to better show errors.