fix file filter breakage
generate exceptions on arithmetic errors
fix debugging letfover.
Yap_cputime() needs thread local memory, so be careful about releasing
local memory.