Tweaks and corrections

Fix build errors, remove trailing whitespace, and bump version to
1.0.0.0.