Made slight modifications to the loading mechanism to allow it to properly change the page's title