Various minor updates and new example scripts.