Active liquid crystals in confined geometries