More fixes for Windows flashing Command Prompt window issue.

Fixed some Identity Menu / SSH Key Dialog stuff which was broken
by recent changes to the KeyModel class.