Unload session on document unload
Fix API endpoints
Fix placehold.it uris