It sounds like you have several possible claims including constructive discharge (essentially an involuntary termination based on conditions being so bad you could not continue), sexual harassment, and defamation to start. You need to consult with an employment lawyer to share all of the details and then the lawyer can take action on your behalf. Do not wait as there are time limitations for these actions.
Depending on the content of the remarks, etc., you could have a claim for discrimination/harassment. There is a workplace bullying bill currently in the legislature, but it has not become law yet. Because you left your job rather than being fired, you would also need to so that you were constructively discharged. It would be advisable to consult with an employment attorney, as there are short time frames in which these types of claims can be brought.