Lots of tweaks, and beta MongoDB events layer