Random fixes

Pycharm pointed out some errors in the parser: missing parens, variables
the same name as function calls, missing pass for lambda, scope name
variable not being declared, etc.