issue #70 - added some functionality such that invalid panels in menu still result in valid conditional expression.  Ensures text display expression does not start with an operator and that parens are balanced no matter which menu panels are invalid.
Merge pull request #151 from google/conditionalStuff

Conditional stuff