Fix issue JENKINS-17550, make DisplayAllocator singleton so it can keep track of allocated displays. Also fixes JENKINS-17280.