Adding lines and files changed to the db. Fixed a few other small things.