Cleans up the gstreamer code more.

Also gets rid of the critical assertion failures in the server.
I need to find a more appropriate way to solve the typefinding issue.
But for now this will to while I further solve the Pause/Resume issue.