Extract rzdisplaystate code to separate class.
Add missing documentation and force fix method.