Adjust to handle new PMT DB.
Misc adjustments.
Slight refactor.  Add prototype to get map resolution.