More modular front-end architecture. Fixed total # of blocks bug and other display issues.