Working key import/export

Still a display bug with the progressBar