Now able to minimize programs, rewrote the methods. Created a new class called processmanipulator.