Fixes various crash and errors and bump version.