Various fix and improvements

* Fix a bug that made cozy manager unusable on windows
* Improved the VM status detection
* Improved error feedback