Handle file renaming

Added preferences
Added logging
Added PyV8 loader
Minor tweaks
Faster diff