Removed commented code for gstreamer
Various fixes and enhancements