UI: Actually fix a few more Coverity issues.