Minor refactoring
Enable drag and drop from project explorer to the diagram
Prevent bad chars in port names
Refactoring, nothing important changed
Fix direct editing on ports