fix memleak
don't print R warnings on exit
save filter width to file and load it again on re-execution