Updated to latest version of libs. Fixed some deprecation issues.
Added new examples.