added check for webPane isLoading before telling it to stopLoading
Merge pull request #368 from josh64x2/issue-367

added check for webPane isLoading before telling it to stopLoading