In the process of improving the lencurses interface to allow for better
performance and usage. Replaced the calls "lines()" and "cols()" with
gettermsize() to receive the dimensions of the terminal window. This new
call queries the maxyx of stdscr rather than read the globals LINES and
COLS to prepare future handling of window resizing. Also set the
backgroundcolor of a window upon its creation.
Modified the lencurses interface to make some functions more useful and
replaces a dirty hack in vm.lua with the new functionality of lencurses.