Update topic if changed, fix output window anchor