Just unchecked “Show recent items in the Dock” in System Preferences. That’s more like it.