GUI update. Fix some errors.