Window is now a constructor function.
Changed how processes are deleted and removed test function on the window prototype.
Some more redone.