Moved the getPercentColor function from functions to parser

This will ensure that tps and percentage related data will never be
unused on functions
Moved the getTpsColor function into parser and updated method calls across spawn and main