fixed legend source
added hack to clear legend cache after context switch
Merge branch 'master' into legendSource-116
Merge pull request #19 from lat-lon/legendSource-116

Legend source 116