fixed major bugs, should be usable now