Slave accept previous higher n

Some bugfixes that CI agrees with.
Not all is running as blue as I would like yet, still looking into that. But these are good changes, so I would like them to go in.