Mkefile: add RUNTEST

Setting RUNTEST=valgrind helps with debugging
fix some memory leaks; whitespace
memory leaks
whitespace
take more care with UTF-8
add fs_generate()