The first looks like death.A remnant of something that was once alive.Remove or leave it,I don't think either would hurt anything.The thing on the glass is a nudibranch(sea slug) of some kind.It looks like it could be coral muncher,personally I would remove any I see.