Changed the way tileDefinitions are accessed.

now uses a function: getTileDef(id)

-also added to the notes.txt