fixes and home

limits
shutdown sockets before closing
starting to support home