Integrated qw_attr_t into qw_char.h.
Deleted unused functions in mp_char.c.