Hacky Fix for #12

This basically busy waits for the listening to finish. Needs to be replaced with some event-based solution.
Update Parameter Marshalling Code

Works with more than one filter properly now. We can only have one
regex so we basically construct a disjunction of the filters and use
that.