[webui] random fixes from crash reports