Fixing issue1 where file doesn't open when active window is non bis wind...

These changes should allow for the program to open up a .BIS file regardless of what kind of file the active window has