pub fn run_tui() -> Result<()>
Run the TUI application.
This function encapsulates the full TUI lifecycle: panic hook setup, raw mode, alternate screen, terminal creation, app initialization, event loop, and cleanup.