Fixed #45. Added some checks in to parseDefine. This caused the expr array to potentially be empty so added a length check in cmd/console.  Fixed an error message in parse/expr