better exception handling when DB connection fails
introduced Connectivity Service, support JSON export/import of media data
cleaned up and fixed async image loading