gui nullpointer exception fixed
bugs fixed