code formatting, arduino server, small improvements