Added boolean and and or expressions. Improved bool management.