Add More Features/Fix memleak

Fix memleak using pclose on calls
add dumpstate to debug
update about us code
clean up some dirty/unused stuff