ProcessManager: add state() function to show what's ongoing