improved debug output for invalid fd case in Loader
Merge branch 'master' into next_year_improvements