added recycling of interim bitmaps