Better screen sorting. Fix a use after free. Clone/overlapping monitor detection