Bad sleep and trouble at home can set adolescents on a trajectory towards depression and anxiety, an Australian-first study reveals. But some things can help.