Fixed library name. Fixed minor bug in example