Major fixes to tile loading, cleaned up resources.
Fixed problems with coordinates in tile selection.
Laid framework for wall handling.