message changes

- use mseconds in index
- report output messages and state changes
- report state and timestamp with input message