RF: clean out some unused imports
NF: add test for missing library error

Check that function backs out when library to copy is not found
NF: recursive copy done, start main script hook

Recursive copy of needed libraries, with some tests.

First untested main script hook to delocate library bundles.