Made some tests with bitmapdata.lock/unlock but they don't seem to make
much of a difference performancewise.