removed debug code
tileset: added default value support for arrays
fixed compiler errors