Added title attribute to closed windows

Added a title attribute to closed windows, showing the URL that was closed. This is helpful in cases where you're working on two identical pages, such as in dev and production. Otherwise there's no way to tell the difference.