more work on WAC.
fixed up WAC filename parsing, also storing of the offset to the current entry in the WAC.