Issue #102 Fix

I kept my original method for detecting changes for performance reason.
Merge pull request #111 from CyrusSUEN/master

Issue #102 Fix