Minor KH cleanup

Mainly error handling, use of promises and indention in the asset controller.