Rewrite tiled renderer to use arrays instead of linked list per tile, refactored gl wrappers
merge