Fix flushing
Add lock for controls until both players are connected
Merge branch 'networking'