Fixed process model bugs. MODEL IS NOW DEBUGABLE!