Fixed "password dialog freezing up" bug.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>
Merge pull request #51 from FellowTraveler/master

Fixed "password dialog freezing up" bug.