Renamed maxPlayers and maxSpectators labels.
Code cleanup.
Fixed bug with comparing bool and 0, replaced 0 with -1.
Fixed the checkBox bug, which was caused by problem fixed in last
commit.