Start ent_w at 1

Also, increment our sequence numbers if we have to.