Disallowed direct access to nav_links.php, misc changes