refactor ui.ok and ui.err. smoother transitions between multiple messages.