For the spikes, note that in your picture, the predicted number of points in the bin around 0 is 100, but there are 300 squares in your range. Similarly, there are 75 quarter-squares (where by quarter squares I mean numbers of the form $(n^2-1)/4,$ etc, so I think it explains some of the rational spiking.