key fixes and minor optimizations
New UDPInterface functions

    fixed bug where errors persist between admin socket responses
keys passed as pointers everywhere