Removed some bugs. First release version.