Optimize some things.
Merge pull request #17 from chrisabrams/master

Make browsers happy with getting top window's url