Hi-tech help for troubled teens wins grant