Document a few more bugs, avoid blas threading bug in generator.