Error handling for local tiled layer load failure

Added error handling in case local tiled layer fails to load.
Fix activity dismissal for online layer failure only
Merge pull request #16 from pheede/master

Error handling for local tiled layer load failure
Merge branch 'master' into vNext