Improved error descriptions.
Fixed bug that could vms get to be stuck in loading.