Better error handling
Some small trys to fix gstreamer debug not running in win xp