Thanks for your reply Phanx
What I mean by "make it not generate as much memory usage" is:
The above code in 2. uses ~40kb of memory, but when I am hovering the TrackButton its memory usage raises with ~1kb/s. I believe it's doing this because the tooltip keeps updating.
Is there a way to rewrite the code so it does not update the FPS, ping, and memory all the time when hovering the TrackButton?