Move to main thread interface updates after refresh

Fix some crashes, especially frequent in 10.10
When a tab is closed, reset to blank its webview

Prevent sound of some Flash videos from continuing playing
Merge pull request #321 from barijaona/bugfixes

Bugfixes