add some accessor funcs for last error
fix examples
Makefile: add examples target
update gitignore
add rcb tag