Prevent ConcurrentModificationException. See issue 498.
Fixes issue 500. Added a method to the BitmapPool to clear the cached Bitmaps.