fix(config/ui): wire `min_tokens` from UI to runtime and fix NameError
- Replace undefined
global_min_tokenswithmin_tokensin the Search path ofgenerate_sync_data()(2 occurrences) to resolve NameError. - In
load_config(), includeuse_timelineandmin_tokensin the globals and assign them fromargs.*so UI changes take effect at runtime. - In
write_config(), persistmin_tokenswhen saving the default config (no payload).
Backwards-compatible with configs missing min_tokens (defaults to 0).