Leader board rank, bunch of error fixes