fixed rights access in tqueue, added operator= and copy constructor