Changed %i to %d for a number of toString() methods that was causing exceptions when called