fixed frame sending (before old frame data, now RGB picture); fixed samples sending (before crash)