bug 834961: removing ignoreWindow checks on methods that take a window as an argument

Also addressing some review comments