Some autolathe sorting stuff
Fix skeleton flags