fixed bug: details duplicated on new events (but event referred to the old detail) because SQLite treats nulls as unique, code assumed opposite;
debug menu: delete unused details (unused details were 6 times larger than everything else because of duplication bug);
logging duplicated details problem;
targeting last (18) android version;
logging db upgraded events;
minor renamings;
drop index now with "if exists";
index for problems;