BRANCH 4.0:
  prevented eval error in query API method
  updated ExpressionElementWdg to better handle expression error