relay: multiple updates

* minor refactorings and cleanups
* add old levels to level changes
* remove level counts in channgels