Code cleanup.
Password changing.
Fixed spelling mistake.
Redone most of the login dialog and backend.
Files that were accidentally left out in a commit.
Merge origin/master