[newui] Two fixes for the newui exception handling