Improved bitmap handling and recycling