Added urgency to the IO system so that urgent packets are send with a higher
precedence than regular packets.

Also some minor renaming.