Mongo storage for actors

Some drive-by improvements as well.