document selection works. first document is now automatically selected. highlight style added.