Debug, remove assertions, remove some debugging traces, edit debugging traces for cleaner output