Fixed issue #138: Preview's window title failed to update while 'viewing source' was toggled
Merge pull request #139 from Hecktorzr/master

Fixes #138: