More bug fixes, insert, lookup, delete works for limited number of inserted records < 10000