Adapt the ported UI pass to main

The folder dialog on main had no shared submit path, so Enter and Done now
both go through one guarded _submit. Two imports the Lucide sweep had
already added on main are deduplicated, and the analyzer's mechanical infos
are cleared.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
97ca04c9e9Dara Adedeji committed on 9/13/2026, 4:58:50 AMparent1528fda

Checks

Some checks failed
5 files changedLine totals unavailable