minor enhancements and bugfixes to the console stuff
console: proper input line windowing and clipping