Added foreign option to configure.ac
Added autotools to .gitignore
Added labels to pseudo tabs in the mouse tab in preferences.