Fixed generateCPUTime in Process and other fixes