added expression error checking and line-edit formatting. working on variable name validation