Migrated over old scripts/ and unix_prefs/ directories

Cleaned up a lot of unused and old code, configs and so on. Hopefully this
is the minimum needed and I didn't delete anything important :\