fixed expressions beginning with +, fixed crashes when parentheses ommitted around if conditions