Fix crosshair rendering.

Closes #437
Prevent RGB mode from closing viewer.

Closes #446
Ensure RGB images are initialized properly.

Closes #419
PEP8
Merge pull request #452 from ChrisBeaumont/437

Image viewer bugfixes.