speed up solver, adjust params of glviewer, compliment the off expot functions