Update to connected components plugin

Added options dialog to connected components plugin