Beginning of tuning state transition in code.  onFrame now evaluates
current state and changes tune/play state on screen tap.  action for
play mode is factored into doPlayMode().