Fixed the c++ programs and edited the DataGui slightly