Some fixes to gui configurations. Added functionality relating to both bidirectional references and restriction framework. Basework for bidirectional references should be done.