Add %S handling to strftime, and fix %I to show 12 rather than 00
window: Abandon System.TM (not available on Windows) and just use my own strftime()
window: Allow timestamps to be configurably in local time (if possible) rather than UTC