* 3 funcs needed for some mwcc compilers * some PR feedback * lots more via pair programming with Simon * cleanup, add test dir as an include dir for tests * bugfix