Fixed the lossless flag being passed in as 0/1 and not boolean. Also catch programming errors
Undoing the prematurely merged high level stuff. I'll merge it again
once we have a high level extractor
Merge remote-tracking branch 'origin/boolean-fix'