Added debug code around loading of Library file