GUI-876: Misc PEP8/code cleanup of image-related views