Gets tree selection functional

Now when you click a tree item, the right panel switches between a game
view and a requirement view.
Authors: dbeckwith, quan1992