Bugs fixed. 1.0 release.