BitmapText source buffer locking and better condition for creating new buffers