assigned a global to progress start and end events
tweak code comment for _parseInMemTiles
removed unused globals
reorganized and normalize index.html