Add a test to make sure that the display bit depth is 32-bit
Forgot to document the 32-bit display requirement - sorry :/
Stop logging as much in the C code, and when we do, remember to flush the output (so it interleaves correctly with Java output, and in case of segfault)
Fix bit depth detection logic, and error message
Improve documentation