Merged changes from primalpop repo.

Catching up to changes made by primalpop on his personal repo.
Note that I added an external JAR that he uses (which he forgot to add to his repo).