validation logic for programs; added active and display properties to program class