Small fixes

* Fixed export function formatting
* Added (ms) in export timing
* Fixed bug with trial not completing properly