major improvements to blog example, minor bug fixes