The idx files are created depending on which version of cgpsmapper you have. There created for the higher versions that allow searching.
Now for the coordinates issue, it sounds like a bad data point somewhere in that file. If you have gpsmapedit try to open the MP file and see if it throws an error. Also, you can open the MP files in a text editor such as notepad++ and just look to see if summering stands out.