Changed some edit behavior to be more friendly.
Fixed notes crash when deleting last row.
Invert Selection works.
Fixed more bugs.