Added password strength measurement to dialogs

Opening files still broken