Eliminated all flickering on update. Though, it gets sluggish on huge or math-dense input.