restore djgpp, eventually
merge TODO lists
add unit tests for lib/*.c
