Cleaned cruft out of doBrowse() in display.php