Corrected bugs, comms test now compiles and runs. TODO: fix UDP messages backing up