support matrix cell selection, generalize activeFormula -> activeField
support xy-pic diagram
fix arrow, support arrow removing
support arrow undo
cope with scrolling
support xy-pic frame