Reworked document templates and improved FCGI menu display.