add stretchToWindow method
fix wavetools auto resize