I have a friend who ejected from a Ph.D. program when all of her classwork and almost all of her lab work was done. She had an awful adviser. It got tricky because in some fields the adviser co-owns the research of the advisee. So I guess even if there are boards and advisers, the situation can be as bad as you are experiencing. She switched schools and eventually received her Ph.D.