Now handle different states of packet

Now working on getting the state of the packets to change whether they
are new, queued, next etc.

Still need a better way to indicate packets been sent but turning them
grey for now will do.