new socket functions: getStoreableValue and setStoreableValue
restore values when sockets are rebuild
restore output links
small fixes
cleanup