Made Loggable non-public, as it is unnecessary.
Made UDPTransportInterface pointer-safe.
Removed locks in PKS, as they made bugs.
Multiple changes.