Added new features and examples, improved performance.