Finally fixed everything.

Version 1 beta release.