removed unnecessary logging
added debug query option to render