Menu (added radio buttons) and socket update: preparing socket code to be usable by everyone