Fixed trackpointID counter for stationarity events. Fixed missing correction of timestamp for movement synthesizing. Fixed ambiguous variable name. Added header line for output CSV files. Cutoff data output at 23:59:59.