Now console tells you which element is on top when using compare

Also tweaked a few things to make code more consistent.