fixed a mistake when moving functions around that resulted in missing return name, also removed a number of debug statements, added one to print the window name though because there was a weird error where wui.FindWindow returned an error