Minor fixes to make the mainthread-io job play ball with iacomus.