Added typed_filter<T> to set_output calls to resolve ambiguity.  Added empty default case to case statement to quell compiler warning.