Revert "Use C code to detect free displays"

This reverts commit 2092c6121090ae873e654b49f1d4406a2a205e19.

Conflicts:
	setup.py