MO manager: remember the last searched plugin to avoid reparsing the MO tree. Also pass the mo_mgr_t by pointer instead of value in functions.