Fix connect and test in auto mode when there are no jar files
Prettier add/edit connection dialog