lots and lots of openmp
small fixes