Fixed Insert Function database not found errors
Added Delete function. Bug fixes

added multiple cursors where needed to prevent overlapping queries.
Colleen needs to make sure while making a raspberry pi database to
remove mysql safe update preference.
Merge branch 'master' of https://github.com/CBLAHO13/DocumentRepair