Some work done in attempts to get a file written to the 'physical disk'. This wasn't working...more on that later. Other minor changes.