add restart and buttons / fix sockets