Solved issue #4 and reconfigure how processes are started in the background. Other small tweaks