Fixes race-condition that resulted in map sometimes being stuck in bottom right corner.
Should fix race condition where resource images are sometimes briefly visible onscreen.
Adds support for apple-touch icons (for when the site is bookmarked on a phone or tablet)