Make submodule detection more robust.
Make contract profiler robust against empty stack traces.
Fix indentation in current-library-collection-links docs.
Comment typo.