Fixed networking

Changed parseQueue and sendQueue to use std::queue and it seemed to fix
everything