UI: More Coverity fixes.