Three essays on electoral manipulation