Update sample, move all debug code to sample not in RSCodes