CHM: move critical sections from CHMlib into ChmModel (also protects the data cache)
unarr: add ar_parse_entry_for, allow easier reparsing from start