Converted misc to prepared statements  (#38 #214 #196)
Converted Log to prepared statements  (#38 #214 #196)
Converted Settings to prepared statements  (#38 #214 #196)