Worked out bug with stacking processes and difficulties with single comm...

...ands. Made it a bit more ugly, but hey