Implemented deleting and cloning of processes.
Small fixes