Fix checksum calculation while scanning and updating file list
Fix  error when adding/updating individual file information while syncing; Add code for deletion of files while syncing; Fix small errors due to  being undefined