1. Changed byte computation of password chars to not really care about encoding
2. Connection dialog now looks pretty