Changed index page and TODO page, fixed an almost-bug in snippet search query generator.