"sort" nodes are now prepended instead of appended to avoid creating invalid styles
Ensure that the citation editor dialog can't expand beyond the bottom of the page

fixes #162
tweak comments