main changings in gui and added some implementation of the major buttons