fixed syntactic errors and wrong dependency names

window-number mode is now correct
command-frequency is commented out until I know the correct name of the
package
There was an extra closing bracket after the rename-file-and-buffer
stuff

Removed the when-clause in w3m-settings.el