Fixed major bugs. Working to 1.0.2.