saleae code cleanup