add more debug
change to new ipc
use riots default stack size
fix some function type warnings