Text this: Estimation and Control of Stochastic Systems under Discounted Criterion