got rid of ncurses, fixed crashes
stepping along gradient semi-works. try SQP now