Added comments for closures, adjusted indents