Split insert from footer in cursor insert.

See #356.
See #355.
See #107.
See #4.