more aggressive filtering of routing possabilities

getFlags.RemoveAll() returns true if the collection was modified; ie, if
any of the flags were set.
getFlags returns a copy of the internal flags.