Added some loggin to library and installer.