Addressed a number of small issues

- removed multiple method signatures from two classes
- fixed an initialization exception when window is not yet mapped
- fix for using matplotlib based viewer with qt5agg backend
- fix for loading files in io_fits.py