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 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:

Restore Backspace Navigation in Safari 6

Restore/re-enable the backspace navigation in Safari 6

defaults write -bool YES