Added icons and resize support to connections windows, window remembers its size between JVM instances.
Fixed some issues that caused gui not to be shown as registered