Fixes for req.pageTitle() and after_init event. Closes #173, #174