- remove obsolete functions, variables, definitions and such
- cleanup layout (no need to keep that many ugly empty lines IMHO)
I searched trough the source to see where functions are used and removed all that were not used anywhere anymore. Tried a compilation afterwards and the client still works fine :). Needs a careful review from a core dev.