a little better locking in gc. introduce parallel imfilter test