updated some of the source files in gui directory