Improve logging and error reporting for mws-index
closes #26