Store module structs in a single place.
Fix unixtime <-> TimerTimestamp conversions.
Move frame saving into its own thread.

This prevents the UI from locking up at high framerates.
split process_framedata into save/preview.
Limit preview script updates to 2/sec.
Improve frame manager logging.