popup_window improvements
- rearranged popup ui controls
- fixed deprecation warnings
- fixed scrollwheel volume direction bug (up!=down)
Fix unsigned/signed comparisons