More complete synch code

'online' replaces 'wasOffline' to indicate that Dropbox has become available during the offline running of the program.

The online/offline event handler is the way that 'online' is changed.  It is not reset other than by changing songs.