Fixed menu items so they work. Cleaned up some more unnecessary code; moved highlight change listening directly into LiveDocument.
More docs, code cleanup