Testfile format, more server-side events, and building the page.