Added next block indicator.
Refactored code that draws blocks to a separate function.