Move a part of the ui package to sensible logging