Merge pull request #1101 from stefanbeller/master

Fix a crash when removing duplicates on the ModList
Run the astyle script.

I guess we'd need to teach astyle to keep oneliners oneliners.
But apart from that, there were some tab/space issues.