fix Mac build, use pthread_mutex_timedlock only on Linux as this is apparently optional
fix interoperability between the fs and the sync
fix
change list of synced folders to tree
fix timeformat
check if file to be uploaded exists on the remote first
fix deleting sync with active uploads