changed the way spans are passed to callback (in case it is passed a different argument in future
Inverted spans so they mask properly.
added support for boolean operations (track adding and masking)
added support for boolean operations (track masking)
added masking function to getFeatures