Preserve ms granularity.
First shot at refactoring UI to have separate upload/export paths. Refs #552.