Added a function for removing programs from the GPU to better clean up.