Fixed the stat percent calculations

And added edge case messages.