make multi-pass work again

recent mkd64_run() refactoring broke multi-pass disk image generation.
fixed and commented the code, so errors here will be easier to avoid.