Added input listeners.
Also publish input in single player games with spectators.