Fixed a few fringe case bugs with closures and added brace syntax to closures.