Fix overlapping detection. Fix an use after free. Fixes #41
Don't enumerate disconnected outputs
RandR cleanup.