Revert "Added handling for the dictionary structure in guiheaders."

This reverts commit 241eebacc8f87987fb99705f15bc15cb68d3154c.
Revert "Working to modify guiheaders to work with trees"

This reverts commit 4ef7b9ab38ef853df03ad6d8ea1432f2b49f9931.
Reintroduced beneficial changes from the reverted commits.
Merge branch 'master' of https://github.com/Erotemic/ibeis