Text this: A Robust and Flexible Control System to Reduce Environmental Effects of Thermal Power Plants