Fixed issue where bookmarks were left in script and style tags.
Fixed issue where editor was not defined when trying to lock and unlock
the undo manager.
Merge pull request #12 from narcolepticsnowman/master

Fixed issue where bookmarks were left in script and style tags.