Fixes to device reset, demo mode timestamps, and log file cleanup