added panel refences
recurrence variable
Added DonInvalidCommand
added hasError method to abstract command