Derek Thompson, Secondary headteacher