add load grid to tiled, updated testing tile codes, bugfixes