fix end of game situation, improve cross-platform compiling
Merging. Thorry.

Conflicts:
	Constants.h
	Tetris.cpp