save

Make a copy before drastic changes
First Draft

If everything works correctly then this will be the main way of saving
XML data.  Data is only written when Form1 is closed, and the entire XML
file will be rewritten instead of being editted each time.  During game
time only the starmap, agent etc objects will be manipulated.

Additionally, starmap no longer holds agents at home: all agent data is
stored in agents.
Stable Release...  kinda

Fixed most bugs, including a particularly persistent one caused by
loading starmap before playerinfo.  Load order should always be:
playerinfo, agents, starmap.

Seems to have a problem in displayStarmap() still, not sure what.
More Stable Release

I think I fixed the problem with displayStarmap.  Who knows though.
Change: loading sequence

Changed it so that each object (playerinfo, agentList and starmap, in
that sequence) is loaded into memory after each object's XML file is
created.  This ensures that playerinfo is immediately accessible at
generation time for all subsequent objects.
Added: investments

Added investments as a sub-class of playerinfo as well as the ability to
display all of the stuff and manipulate them fairly well.  Seem to be
getting the hang of it...  JINX!
Added: add and removeInvestment methods
Add: agent movement

NB: last save before changing generateStarmap to creating a starmap
object and saving that instead of writing directly into the file.
Change: starmap generation

Starmaps are now created as an object and written into file with
writeAll.  This saves a lot of time/effort when adding new properties as
only the starmap object, generateStarmap method and writeStarmap method
needs to be changed.
Minor Change: cleanup of frmNew