Sort project and branch names. Log errors.

getFullProjectsInfoAsync callback is not called anymore on my machine.
Therefore project/branch lists are not populated on connect event.