Sync Bug Cleanup.  refactored file management into syncservice to provide centralized locking.
Multi-threading support, Windows Service Support, multiple fixes.