Add TODO comments on remaining X11 driver work
Convert general.c to C++