added check for webPane isLoading before telling it to stopLoading

To help fix bug #367