Reorganized the CMake files a bit
Experimental libedit console

This should be much more friendly than the old console. It may
still be reverted if it causes trouble with Unicode, though.
Don't hardcode the program name