update to API v27.0
move sparkle delegate to app delegate and have it close the login panel on all windows when needed. fix crash if check for update is called when no windows are open.