Added twig and easy buffer switching.