2.0: use temp database for transient episodes

This will help keep the main database fast and clean.
Update comment