Schrodinger operators, Dirichlet conditions, bent waveguides, quantum graphs, threshold resonances