Res class: fix bug in tileset method, add exclusive hashes for tilesets and change directory conventions for other resources.