Minor bugfixes. Bumped to v1.0.1