Fixed unlikely, but possible, segfault when trying to access current block

If the game doesn't exist, the blocks_head doesn't exist, or the elements in
the linked list don't exist, this function can cause a segfault. This checks
each location in-turn before accessing the next.

I should go through and look for more of these.