opentrail: fixed bugs re downloading local map and style file