Some changes to accomodate limited system.
Removed termcap to fix having no curses