Tweak TB_EMPTY event based on comments by nickm.