Locally univalent functions, VMOA, and the Dirichlet space