Cracked it

The treeview has been corrected for generated mechs. All item view is
still really rough, but getting there.