Fix bug in auto-calid during patching.
Fix infinite loop for missing roms in xmltoidc.
Refactor IdaMap and IdaDef classes. Clean up old authentication code. Work on ConvTools to preserve existing header file data.