Split the sdl editor demo up.

We now have MVC (Model-View-Controller) like splitup
that separates the edit buffer editing functions from
the display. Hopefully the with a bit more work the
editor can be used in form editing.