Welcome to Healthcare Magic
The mucous plug is probably the 'show' which could mean you are beginning to go into labour. The diarrhoea
needs to be treated as this could induce premature labour. Eat fresh fruits and vegetables and drink enough water. Visit your Doctor to evaluate your's and your baby's condition and to monitor the progress of labour as it begins. Do monitor your foetal kick count as usual. I suggest you go to your Ob today and get examined and also treated for the loose stools and proper care taking at this time in your pregnancy
. GOOD LUCK !!!!