Improve logging, fix exit on error

modified:   VMwareLibrary/__main__.py
Fix logging

modified:   VMwareLibrary/vmlib.py