Fixed syntax error.
Fixed nonexistent package.
Fixed most of the bugs that were preventing operation.