Name the main window, add path checkoing for input and output paths. SpdrBase test is failing now.