fix some type mismatch in edit command models.
Fix NRE in ContextMenuStripImpl.Opening.
Distinguish DoubleBuffered and SetStyles(DoubleBuffer).

Dunno if this makes things better, but the original winforms impl used
SetStyles(DoubleBuffer) instead of DoubleBuffered, so follow it to minimize
possible cause of bugs.