TM waveguide improvement
improved ui forms