fix some copy-paste bugs
improve peekFragments
fix openNotes for IE (:focus selects not only input fields, but also ordinary divs)