panels and media objects; baseline resize for figures; better templates