Made the login window cooperate, builds with Qt 5.0.2, and made the
files safer by saving a hidden copy (well, on Linux it works).