Added debug message + made iteration through interfaces not do copies (which is nice).