ignore coverage files
fixes some make issues
fixes make issues
uses autoconf for glib flags
simplifies makefile
fixes race condition
fixes wrong datatypes leading to memory corruption