added support for random territory; fixed end-game msg bug; style updates