Smooth sets and two problems in the Dirichlet space