added GUI to wave generator