Main modifications

1- Fragile included as a framestyle option
2- new Main node attribute: Usepackage
3: Notes formatin improvements