fix getClassPostfix($className)
set setDeactiveThisAction(true);
add debug to writePidFile()