use curses.window.getkey instead of getch
add home/end short keys
add color module