added graph window and made window size changes