Added an actives collection that stores currently active ipython or matlab processes