added some pragmas to spot my hacks more easily
log all function invocations
Merge commit '6dea453c5406e2b2987023ffe778c4e00aee5bfd' into debugging-hackery