Refactored some Hex stuff including layer computation.
More work on the tileset, first tiles to be exported soon.