If you leave the U.S. before you turn 18 you won't accrue any unlawful overstay. That may be the best way to minimize the effect of past events on future visa applications. I don't think it's a bad suggestion to consult a lawyer; but I think you need to do so quickly.