In my travels to try and fix an issue with the comment codes, I ran into this. I constructed a file with one valid observation in it and when I loaded it got a range error. Turns out in setting the magscale the max can be smaller than the min. This then causes an exception to be thrown. You can test this with the attached file on revision 312.