Fixed a small tile set problem.
Bounds of existing tiles weren't calculated correctly in some cases.
Reworked some things in TilePos and TilePath class.
Some more reworkings with TileSet class.