Added comments, restricted listing of blocks to active ones.