The async postInit in compiler/executor panes races with the hub's
'initialised' event. Source change events arriving before
initLangAndCompiler completes are filtered out (langId mismatch),
so needsCompile stays false. Setting needsCompile = true before
undefer ensures compilation runs once the pane is fully initialised.
Also fixes editor.ts languageBtn.prop() called before DOM lookup.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>