Add command line playback controls. Fixes #288