Added method to get the bound program

Will be used to make uniform-setting keep the same object bound.