added openWebPage method
Merge branch 'release_30' into release_31

added openWebPage method.
Fix memory leaks related to the debug window.