prune viewer commands; add stop command