Fixed Bugs. Continuing work on library downlaoder.