Remove Xlib dependencies from bit_destroy
Silence warnings
Update docs