Changed TileMapSlice's name to something more appropriate.
Used the globals table to have a constantly-relevant "this" parameter. Put "elapsed" in there too. Vsync needs to be on to avoid nasty tearing.