coding lib+exe. changed exceptions for lib interface.
coding lib+exe. added DBG_GLB_MEM_USE and DBG_GLB_MEM_WITH_PT_DIR.
coding lib+exe. coded bj_solve_file.