Added better handling of multiple VLC processes