greatly improved Automatic
onJoinGame resets properly
uses Booleans instead of strings
fixed a bug when leaving game