Fix integer/float issues
floor selected_row/column
+ )
modulus adjustment
Fixed issue at it's root
possible terrain window fix
Merge fixes to SDL coordinate handling.