support for thunks
thunks test cases
update copyright year
fix some missing new lines at end of files