added nickname getters and setters
added getDeviceByNickname routine
nickname can be null when registering
print links to unregister devices
stupid errors
i am dumb