Optimizes code
Fixes typos
Fixes some issues
Merge branch 'master' of github.com:WoltLab/WCF