RSA encryption, javadocs, and ...

player & npc sync fixes.