changed Icon, added code for reading and setting min/max dist for connectivity