Fix: compile all would fail if an unsaved window or find result was open