removed NULL characters from source file
ignored printf warnings from GCC
added missing includes
added ignore