fixed link following and new library/path loading.  also clarified some debug messages.