Improved variable evaluation. Fixes array access.
Adds NSNull support to if. NSNull -> false