Fixed bugs with market. saving, loading, buy ship

Market now updates correctly after a ship is bought, items cannot be
bought if there is no room in cargo.  Cancelling new game no longer
gives null pointer, closing save game no longer gives null pointer,
closing load game no longer gives null pointer.  Fuel updates correctly
when traveling.