Fixed the loading order, so Imgcache and Leaflet

Leaflet and Imgcache have a chicken-and-egg relationship: tiles load
from a cache that's not ready, and the cache ties events to a Map that
doesn't exist yet. I teased out these issues, added a setTimeout(), and
voila -- online map tiles with a cache!