Text this: A Level-Set Approach for Stochastic Optimal Control Problems Under Controlled-Loss Constraints.