Boolean improvements wip 9?

see the linked topic: