Lots of fixes.
Donations status switching refactored.
Added donations logging class, but it needs further works.
Merge branch 'master' into remote-master