Split reduction and preview threads into separate files.
Have reduction and preview threads sleep until needed.
Tweak simulated framedata to provide a target for reduction.
Workaround simulated timer failing on minute boundary.
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.
Improve frame manager logging.
Rate-limit preview updates (defaults to 500ms).
Modify flat/dark countdown into a general burst mode.
Limit simulated frame size hardcoding to one place.
Fix reduction command creation.
_WIN32/_WIN64 #define cleanup.

_WIN32 is defined on WIN64, and WIN64 definitions
should take priority.