add error message instead of calling null handler function
generate proxy+wrapper functions always
formatted whitespace on generated files
cleanup