fix up some weird stuff that crept in and also some things pointed out by edward
fix up some weird stuff that crept in and also some things pointed out by edward

Original commit message from CVS:
fix up some weird stuff that crept in and also some things pointed out by edward

lubosz/gst-python,alessandrod/gst-python,GStreamer/gst-python,pexip/gst-python,freedesktop-unofficial-mirror/gstreamer-sdk__gst-python,lubosz/gst-python,freedesktop-unofficial-mirror/gstreamer__gst-python,freedesktop-unofficial-mirror/gstreamer-sdk__gst-python,alessandrod/gst-python,freedesktop-unofficial-mirror/gstreamer__gst-python,freedesktop-unofficial-mirror/gstreamer-sdk__gst-python,pexip/gst-python,freedesktop-unofficial-mirror/gstreamer-sdk__gst-python,GStreamer/gst-python,GStreamer/gst-python,pexip/gst-python,freedesktop-unofficial-mirror/gstreamer__gst-python,alessandrod/gst-python,lubosz/gst-python