Finished making blk[] definitions inherit Block.
changed core while loop to use Blocks.
cleaned up various syntax.