William B. Armstrong, Organist to St Thomas's Church (1840–1869) and Kendal Parish Church (1869–1899)