Changed FOREACH_MOD macro syntax

- Kate decided to fuck up my diff by using Windows/DOS line endings. Thanks smart one.
- Removed some deprecated shit that should have been gone long ago.
Thanks kate...