1 enhancement, 1 fix

Honor current port number in URLs.
Trigger event when loading new page.