Window replacements are a little better for improving home value and lowering monthly energy costs (since there are more of them). Replacing a door will cost less than replacing all your windows.