Added generic popup window. Improved players' turn. Various fixes and improvements.