Updated gui to work with arduino