Improve the bitmap editor to allow the bitmap to be resized

A bit rough and ready, too