fixed db locked errors, hunting for root of sqlite transaction dead end errors...