many refactorings; added popup menu skeletons to nodes in factor graph
Implemented GUIs to show factor values