plugin/processes: add wait, idle

Closes: https://github.com/pommi/CGP/issues/69