Clean up debug output in scheduler