Katnetic

These changes mostly relate to the Katnetic examples. There is a fix to the port ordering, which I tested to be correct.