Change my own printfs to asserts, since this is only for debugging really.