Tidied up libraries.

Added in a roulette feature.
Fixed you/me detection.
Fixed bot not tracking single player games.
Removed useless comments in places.