Fixed main class prompts and image viewer windows.