Fix more warnings.

This commit mainly adds floor() and (int) cast where needed.
Added few FIXME for "spawn" code in Map.cpp, where we have int = int + 0.5;