Text this: Advances in optimal control of differential systems with the state suprema