Minor code cleanup.
Fixed initial link drawings.
Fixed collapse/expand link adjustment for analyses and subanalyses.
Fixed link adjustment for nodes.