Fixed an issue where sample graphs were needlessly being regenerated because
mtime was returned as a float, and we were casting it as an integer to store
it, causing them not to evaluate to equal when compared...

This didn't cause any bugs except wasting CPU cycles and in turn making the UI
less fluid...