Bug fix, better logging, more features and documentation.