Fix renderstats

This branch fixes issue #106, makes the UI lag display more useful and sets UI update interval to approximately 60 fps.