Fix multiple bindings in for and let clauses.
Fix variable resolution for window clauses.
Documentation for functions and variables.