updated TODO list
minor tidying to do with #define's and header file guards and debug/log helper functions