Various bug fixes, some code re-organization, /unban, and more.