move try/catch inside OpenMP constructs to avoid GCC segmentation faults on old compilers
various documentation fixes