Added methods to build queue and network messages, and show them in the console. Needs testing.