Cleaned up sending of packets; doesn't crash any frontend, but doesn't receive anything either