Thread safety

Some Java8-ification, cleanup and tweaks but mainly thread-safety work - need to make sure that some of our objects are usable from other threads - this is important for the non verticle embedded case.