More robust error handling
Bug fixes, start of blog example app.