Tiles dialog size fix

There are a few things based on the terrain window size, which in SDL gets bigger or smaller based on the the size of the tiles. This fixes those problems.

Fixes the character status menu and the map edit debug dialog.

Tested and Working!