Password window improvements.

[FIXED]     Password window closes initially.
[FIXED]     Site label more visible.
Fix Xcode 4 issues & double type trigger.