Use WeakHashMap for ErrorManager Thread->value maps

Also make static init fields final in `ErrorManager`