Refactored things a bit. Actually fix thee infinite power thing
Fixed local build.xml that was accidentally commited