Made changes to GUI,fixed few bugs,commented the code