This changeset tightens cache file path handling in phlib by validating leaf names, honoring native vs Win32 path modes consistently, and using the correct directory creation path. It also fixes several functional regressions across the app and plugins: module list filter refresh after highlight toggles, ETW endpoint/port mapping, aggregate sort field usage, graph child window clipping, safer uninstall status text handling, previous-instance shutdown in setup, and improved window-message timeout handling. Additional updates clean up initialization/casts, remove dead code, and address small correctness issues in formatting and utility logic.
Refines theme behavior in phlib and ToolStatus so dark mode only applies when the active background is actually dark, and ensures property sheets, tabs, and control colors repaint correctly. Rebar bands now get explicit themed colors on insert and via a new refresh path during settings/theme updates, fixing stale/light band areas during live theme mode switches.
Introduce a new setup wizard implementation (wizard.c) and wire it into the project. Add dialog resources and embed a PNG sidebar image and update resource IDs. Enable dark-mode rendering for wizard/task dialog pages and controls and add helper functions for applying dark styling. Fix archive path handling in extract.c by normalizing prefix checks and trimming architecture prefixes consistently. Harden file commit/rollback logic in util.c: proactively remove stale .bak files, use safer rename semantics, adjust access flags, ensure proper cleanup/dereference paths and error handling.