Applications of Variational Inequalities in Stochastic Control