Added variables to the packet structure and made stuff (tm) more
dynamic.