Simple function calls.
Slight cleanup of genStmt and genExpr.
Variable references.
Fix local var offset calculation.
Fix function calls.

How did that ever work?
Minor comment formatting change.