Added ability to get the current windows URL.