previous version of monitor.scala and processes.scala were not complete, fixing this now.