Added some print debugs in mnextg to make sure about the locks' status