added OEMCP for the default OEM codepage
rewrote lambdalifting; fixes deeply nested closures