Fix bugs with DynamicPortManager and GUI signals