Fixed import.  Fixed control / plugin bug.  Fixed unpacking bug / made socket use more uniform.