added state output/input, reset button, nicer player control