rewrite index page and examples; spot fixes