added readme, minor bugfixes