Added support for pointing to codesign_allocate. Added checks for codesign and codesign_allocate. If the paths cannot be found, an error is thrown.
Added app delegate code to quit the app when the window is closed.
Added a search parameter to ensure that all returned keychain keys are not expired.