modifications to fix tests since changing window handles to tlbcs; fixes...

... 29

This gets tests passing again, but doesn't integrate window switching/handling with our ui libraries nicely at all. I'm thinking we could have something like "find_opened_window()" in the browser class or a neighboring class that would return the new window handle when taking an action that results in a window opening to avoid the tedious pattern I have here. @whimboo, what do you think?
Please don't re-add those lines. I have explained it on the other PR already why this has to work without it. It's a focus issue, which needs to be fixed if still persistent for you.