`Session::replace_project` (`crates/engine/src/lib.rs`), shared by Close, New, Open and the demo project:
- forgets the decoded frames and decoders of the closed project's footage, as well as the new project's (the existing #1070 behaviour);
- emits `Event::PurgeCaches` after the swap, so the viewers drop the RAM preview of the closed project. Its comp ids can also collide with the new project's.
Cache budgets and LRU order are unchanged; only the release path changes.