Fixing various issues

While hunting down the threading problem with implicit euler with monomials, I bumped into other issues which I fixed ;-) We can deal with this in one PR or I can split it into separate ones (the other issues were fairly small and minor).