Fixed distribution builds. Obscured passwords in debug output. Fixed ~ keystore paths.