Changed duration to a string of seconds.

For issue #17