Clean up connection-loading code.
Pass connections array to get_connections function callback.
Fail gracefully if there is no more room in local storage.
Remove completed TODO.