Update TileView by moving some of its functions into ResoureManager.