minor, take gand_idx2sym db file from trolfdir
minor, allow for custom idx2sym dict file
chore, close dict only when non-NULL
Merge branch 'feat/tcbdbify'

* feat/tcbdbify:
  chore, close dict only when non-NULL
  minor, allow for custom idx2sym dict file
  minor, take gand_idx2sym db file from trolfdir