Fix "zoom fit" bug and tidy up. Draw borders in correct colour for images without alpha channel.
Fix "zoom fit" bug and tidy up. Draw borders in correct colour for images without alpha channel.

git-svn-id: c806da28ca781a1e2f2d0b1fde2a9d9a144b325a@1351 295070fd-a27b-da4f-a32e-77c6a882a0e3

AndrewWPhillips/HexEdit,Andrew-Phillips/HexEdit,AndrewWPhillips/HexEdit,Andrew-Phillips/HexEdit,Andrew-Phillips/HexEdit,AndrewWPhillips/HexEdit