Added event tree parsing.

This is currently *very* slow
Basic treeview with callbacks.

NB that atm the actual pack window is hidden.