Added (but disabled) code to try to change the background color of the certificate level buttons. Added code to check the validity and permissions of the API key when the user clicks the update button (still needs lots of testing). Also changed the Preferences window to be non-modal.