defaults

Disable Resume for applications

To disable the auto-resume "feature" of a program in (Mountain) Lion run the following in terminal:

For example: Safari
defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool false

To delete a state, or to find the name look in: ~/Library/Saved Application State
there you will find for example a folder: com.apple.Safari.savedState

Restore Backspace Navigation in Safari 6

Restore/re-enable the backspace navigation in Safari 6

defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2BackspaceKeyNavigationEnabled -bool YES