Fixed numerous issues with linking between pages.