Fixed some serialization Coverity defects in UI.