Added copy of tiledebug