Added some fixes.
Glow crashes because of setTo, and some random crashes still occur.