Added some fixes to Grid.java's load and save method, although load is
still incomplete (see the comment on line 345).