#69 setGid doesn't work with "unused" tiles.
Merge branch 'fix_tiled'
Merge branch 'master' into new_widget