Cvlfab 545 two part ui

minor changes. James and I were working on similar things. I believe this version works correctly. In particular, in the run method of loadKeyThread if you use the KeyModel to add the key you need to remove the call to self.loadKey.