There is a way to reduce the dock clutter. Open the System Preferences and go to the Dock section. Check the box beside “Minimize windows into application icon”.
That’s it. Now, when you minimize the window, it will minimize to its own app icon, rather than taking a space in the right side of the dock. To relaunch your application, you just have to click the app icon, or right click on it to select the window (if you have multiple windows of the same app minimized).