database check implemented, txt save updated

Database is now checked for mixed indexes and shows the error line if
any.
*.txt save data now only contains the primary fields with appropriate
continuations following them straight inside the file (without making
additional files for continuation records).