Copying char_type for endl to fix bug on Wormulon
More debug logging