This was caused by the x^n labels being far too large. Also, replaced old string functions with "safer" versions