Fixed InheritMap class, so that my hack on function inheritance can be removed. Fixed chars option loading.