Fixed debugging messages. For some reason they don't appear in this.