libext: new library for extracting stuff from mid_t
crittest: use libext
libmid: remove nasty printf