- Extracted patient logic from `patient.html` to `js/patient.js` for better maintainability.
- Optimized `js/bls.js` renderer to reduce garbage collection by reusing objects in the draw loop.
- Decoupled state persistence from state updates. Added a `persist` flag to `setState` and `mergeState`.
- Disabled state persistence in the Patient view and Admin preview to prevent excessive `localStorage` writes, significantly improving performance on low-end hardware.
- Cleaned up `js/admin.js` to explicitly handle persistence only when necessary.