Fixed errors in gui, added options to graphs