Fix the packet listener system (sorry didn't realize I'd broken this) and some small changes to receiving packets