[FOR 21.4?] [COMMIT] Fix some race conditions in redisplay/signal