Upgrade

Fixed a bug that happened when there was more than one <ul> element on
the page that used pfiTree.
Also cleaned up and compacted some code blocks