Some fixes for :url option to Window.