Fixes issue #8: Once a widget is added, we also check the relationship between its outputs and inputs
Some formatting
Merge branch 'issue#8' into develop