Added optional debug variables to draw range and target line.