update notes to reflect recent changes
add attributes to printf/scanf-like functions (generates nice warnings)