added unsyncedChanges function

I added the proposed function. I did a merge of your repository to my fork. However it seams to think those lines are different.