added openWebPage method
Merge branch 'release_30' into release_31

added openWebPage method.
Fix TEvent handling so it doesn't crash anymore.