Parse if stmts correctly, more verbose errors