made file loading little more fault tolerrant
my tile layers now support cors