minor bug fixes and library version increment.