Fixes bugs with project tree state preservation

Includes incorrect class name decisions, expansion attributes,
setting of text ('+', '-', and '~'), and behavior on attempted
expanding/collapsing of tree nodes (rooted in wrong attributes)