changed input type from stdin to keypress -- controls are arrows and s=stop, f=forward