Refactor image creation to return a bitmap context by reference, which allows additional drawing.  This avoids some code duplication, and ensures that images will all be consistent.
Refactor image creation to return a bitmap context by reference, which
allows additional drawing.  This avoids some code duplication, and
ensures that images will all be consistent.

amaxwell/fileview,bitemyapp/fileview,bitemyapp/fileview