SMS dit: Topics in the theory of Selmer varieties