Fixes a problem that empty <span> tags are generated at the start or end of selection when highlighting if it accidentally spans at the end of or start of an element. Also optomizes hightlight functions.
Fixes a problem that empty <span> is left after deleting highlights.
Allows infinite undo and no operations are forced to be saved afterwards.
Adds "data-sb-mark" attribute to all ScrapBook additions. "Removes all highlights" now removes all ScrapBook additions, including link and inline or sticky annotations.
Renames the name of inline annotations from "underline" to "inline" for consistency.
Fixes a problem that element outline style is corrupted after moseover by DOMEraser, and that empty <span>s are left after removing Scrapbook additions with DOMEraser.
Renames "data-sb-mark" to "data-sb-obj". Adds "data-sb-obj" attribute to ScrapBook generated css tags.
Fixes a problem that some Scrapbook additions (such as sticky comments) cannot be correctly removed, and a problem that some objects are not correctly removed with "Remove All Scrapbook Additions" command.

- Merges "sticky-absolute" and "sticky-relative" to "sticky", no longer use "sticky-header" and "sticky-footer" as sb-obj
- Renames "stripNode" function to "unwrapNode"
Undo button can now be disabled whenever no history is unavailable. Editing inline annotation and editing or moving sticky annotation can now be undone.
Fixes an issue that deleting data with sub-directories gets an error.
Fixes an issue that selecting multiple folders to delete gets no error message. ERROR_MULTIPLE_SELECTION no more mention about move since it's OK.
Allows multiple deletion containing folders.
Fixes an issue that frames cannot be correctly saved.

- Also fixes a potential risk of name conflict on index_###.css files.
- Frames naming is changed from index_#.html to index_###.html, as same as other files.
Improves the handling of <meta> tags for charset decleration, supports HTML 5 format, and generates a more accurate output.
No longer opens the item when Shift or Ctrl key is down (for multiple selection).
Fixes an issue that "Save Again" prompts multiple windows.
Fixes an issue that a multiple-item capture process freezes when meeting a meta refresh which redirects to an non-existent page (404 etc).
"Clear Highlights in the Selection" now clears all ScrapBook additions. Also adjusts related language and optimizes related codes.
Fixes multiple issues concerning editor undo and change notice.

- Multiple ScrapBook page tabs in a common window now have separated undo history and change detection, instead of sharing common ones.
- Fixes an issue that undo malfunctions if a window is closed or a page with undo history has been switched to another page.
- Fixes an issue that editing inline annotation, editing sticky note, or dragging sticky note may not be recorded and undone correctly if the previous editing is on another tab.
- The Undo button no longer be disabled again, but instead, shows an alert message if no history is available.

- @TODO: if a page with undo history is moved to another window, it is lost permanently.
- @TODO: closing background tabs that are changed do not receive an alert for saving.
Fixes an issue of error logging about getRowProperties/getCellProperties/getColumnProperties functions. (Gecko 22/Firefox 22)