fix crush of NewtonGUI
add doc directory