Gameplay

Fine-tuning constants. Fixed some thread issues.