completely rewritten queue handling. simplified queue ad dded mechanism that queue does not fill up with redundant data. ONLY SEND WORKS - NO RECEIVE YET