Improve vlc.py launch code and error handling