You can now minimize into the dock icon with the new build. There is a new option in dock preferences that allows you to collapse into the icon like windows 7. No more open window apps on the ride side of the dock.
You can already do this in Leopard by pressing cmd-H.