Add message filtering to DebugMessageOutput (ref #49)