Minor refactoring.
Fix UserManager.
Integrate volume events.