SpiritVNC comes with nice colorful spiritvnc.xpm but it's currently unused. I've ported the program to FreeBSD and added couple of lines to make use of the icon, perhaps you might want to merge some of those changes.
Issue
When attempting to connect to ssh servers from Cygwin and Windows 10 built-in SSH servers, the connection may never complete.
Proposed solution libssh2 appears to be the problem. I am planning on removing it completely and SpiritVNC - FLTK will instead depend on the client system's SSH binary, if installed.
Sometimes you must double-click a connection several times in a row after the initial failure (usually 'Resource unavailable' or 'Incorrect password' even though the password is correct) to get it to connect.
This typically happens like this:
Double-click connection
Error icon immediately shows up and right-clicking item shows 'Resource unavailable or Incorrect password' even though the password is correct
This pattern continues one or more times until finally the connection is successfully made
I have looked into this and still not certain why the error happens. It could be the way password string is handled by the password callback. It's possible it's being freed too earlier or some similar issue.