Fixed polling issue for output parsing
Fixed up free hanging code in mathProcess