Add boolean logic block.
Rewrite ShapeLab using Qt Quick.