The discharge may be a sign of an infection in which case you need to go to the Dr. and get antibiotics. There are antibiotics safe for pregnancy. I am on one right now for a UTI! They may cut around/off the toe nail so they can clean it, but i don't think it would require any major surgery. As for the other toe nail it'll fall of on it's own eventually. Sometimes is takes awhile though...
The only reason I know all this is because DH has had an similiar experience.
Hope you feel better and definately call the doctor