Improve user interface and add slider for gain
Merge branch 'ysk-user-interaction'