fixed unbalanced parens in doc4nerds
don't add history when switching between modes

also rename "test" to "play"