0.5.1 minor bugfixes and changes