refactored SubjectWindow to remove unused buttons and panels