improved search and 404 pages, other misc cleanup