Refactored code.

Changed while loops into for loops (though not all). Compounded if statements where possible. Introduced formatBold() to simply giving bold to strings (on-going change). Added check to make sure commands are longer than cmdchar. Fixed awkwardness of the class member wolfbot.