db files and gbdd opt files deleted on close

Only untitled.db remains.