Better handling of nulls. Some more documentation in the README file.