in the end, I'd like to use pushState to have the activity state, and get rid of MessageManager.activity.