Remove dead code
Cleanup: avoid unnecessary string copies
Remove redundant return statement
Fix double free
Fix usage of unitialized variable newBanks (occurs if banksGood is false)
Fix using iterator after deletion
cm doesn't compile from trunk (patch included)
typo