sqlite: adding more debug output
change memory log to datetime
visu remove locking
raise exception on error