define cosh/sinh for non-firefox
add ui controls for wave properties
working on controls (WIP)