Commented out slow debug()s, moved warning to actual warn()