Various minor updates/fixes, including improvements to dependency checking when installing remote modules with dependencies.