
Hopefully fixed selection bug for empty lines and made edit widget usable while being only partially visible. I also added two addition modes for a vim like expierence with view, insert and replace mode instead of default replace mode, but only added the new behavior into the x11 demo so far.